#ifndef DRIVEINFO_H
#define DRIVEINFO_H
#include <QString>

class DriveInfo
{
public:
    DriveInfo();
    enum lighting_state{
        L_R,
        L_G,
        L_Y,
        L_N
    };
    int speed;
    int brake;
    int acce;
    int dir;
    QString parking_brake;
    QString drive_mode;//true:auto
    QString lightFlag;

    void setParkingBrake(bool brakeOn);
    void setDriveMode(bool autoDrive);
    void setLightFlag(lighting_state state);
};

#endif // DRIVEINFO_H
